翻訳と辞書
Words near each other
・ Journal Square – 33rd Street (via Hoboken)
・ Journal Star
・ Journal Star (Peoria)
・ Journal therapy
・ Journal to Eliza
・ Journal Tribune
・ Journal Violone II
・ Journal Watch
・ Journal-Advocate
・ Journal-Courier
・ Journal-Gazette Building
・ Journal@rchive
・ Journalese
・ Journaling
・ Journaling block device
Journaling file system
・ Journalism
・ Journalism & Communication Monographs
・ Journalism & Mass Communication Educator
・ Journalism & Mass Communication Quarterly
・ Journalism and freedom
・ Journalism and Media Studies Centre
・ Journalism Center on Children & Families
・ Journalism culture
・ Journalism Diversity Fund
・ Journalism Education Association
・ Journalism ethics and standards
・ Journalism genres
・ Journalism in Australia
・ Journalism school


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Journaling file system : ウィキペディア英語版
Journaling file system

A journaling file system is a file system that keeps track of changes not yet committed to the file system's main part by recording the intentions of such changes in a data structure known as a "journal", which is usually a circular log. In the event of a system crash or power failure, such file systems can be brought back online quicker with lower likelihood of becoming corrupted.
Depending on the actual implementation, a journaling file system may only keep track of stored metadata, resulting in improved performance at the expense of increased possibility for data corruption. Alternatively, a journaling file system may track both stored data and related metadata, while some implementations allow selectable behavior in this regard.
== Rationale ==
Updating file systems to reflect changes to files and directories usually requires many separate write operations. This makes it possible for an interruption (like a power failure or system crash) between writes to leave data structures in an invalid intermediate state.〔
For example, deleting a file on a Unix file system involves three steps:〔File Systems from Tanenbaum, A.S. (2008). Modern operating systems (3rd ed., pp. 287). Upper Saddle River, NJ: Prentice Hall.〕
# Removing its directory entry.
# Release the inode to the pool of free inodes.
# Return all used disk blocks to the pool of free disk blocks.
If a crash occurs after step 1 and before step 2, there will be an orphaned inode and hence a storage leak. On the other hand, if only step 2 is performed first before the crash, the not-yet-deleted file will be marked free and possibly be overwritten by something else.
Detecting and recovering from such inconsistencies normally requires a complete walk of its data structures, for example by a tool such as fsck (the file system checker).〔 This must typically be done before the file system is next mounted for read-write access. If the file system is large and if there is relatively little I/O bandwidth, this can take a long time and result in longer downtimes if it blocks the rest of the system from coming back online.
To prevent this, a journaled file system allocates a special area—the journal—in which it records the changes it will make ahead of time. After a crash, recovery simply involves reading the journal from the file system and replaying changes from this journal until the file system is consistent again. The changes are thus said to be atomic (not divisible) in that they either succeed (succeeded originally or are replayed completely during recovery), or are not replayed at all (are skipped because they had not yet been completely written to the journal before the crash occurred).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Journaling file system」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.